ns_hapair_template
Configuration for NetScaler HA Pair Configure Template resource.
Read/write properties
mail_profiles<String>
Comma separated list of Mail profiles.
inc_enabled<Boolean>
Turn on INC mode on self node.
scheduleTimesEpoch<String>
Schedule time epoch (string representation of 11 digit numbers)..
primary_nodeid<Integer>
Prmiary Node ID.
Maximum value =
secondary_ip_address<String>
Secondary HA Node IP Address.
Minimum length = 1
Maximum length = 64
configCoordinator<String>
Node to be designated as Config Coordinator - primary or secondary.
secondary_rpcnodepassword<String>
RPC Node Password for secondary node.
Minimum length = 1
Maximum length = 127
primary_ip_address<String>
Primary HA Node IP Address.
Minimum length = 1
Maximum length = 64
nssecondary_ip_address<String>
Secondary HA Node NSIP Address.
Minimum length = 1
Maximum length = 64
nsprimary_ip_address<String>
Primary HA Node NSIP Address.
Minimum length = 1
Maximum length = 64
execute_sequentially<Boolean>
True if configuration template is to be applied to devices sequentially.
backplane<String>
Backplane Interface.
Minimum length = 1
Maximum length = 32
primary_rpcnodepassword<String>
RPC Node Password for primary node.
Minimum length = 1
Maximum length = 127
name<String>
Name.
Maximum length = 128
slack_profile<String>
Slack profile.
clip<String>
Cluster IPAddress.
Minimum length = 1
Maximum length = 64
on_error<String>
Behaviour on encountering error while applying configuration template on a device: CONTINUE|EXIT.
Minimum length = 1
Maximum length = 16
scheduleId<String>
scheduleId is used to refer maintenaince schedule task.
secondary_nodeid<Integer>
Secondary Node ID.
Maximum value =
clusterid<Integer>
Cluster Id.
Minimum value = 1
Maximum value =
Read only properties
act_id<String>
Activity Id.
Operations
NOTE: In request payload, Mandatory parameters are marked red and bold.
The following parameters can be used in the nitro request :
onerror <String_value>
Use this parameter to set the onerror status for nitro request. Applicable only for bulk requests.
Default value: EXIT
Possible values = EXIT, CONTINUE
URL:https://<MGMT-IP>/nitro/v2/config/ns_hapair_template
Query-parameters:
filter
https://<MGMT-IP>/nitro/v2/config/ns_hapair_template?filter=property-name1:property-value1,property-name2:property-value2
Use this query-parameter to get the filtered set of ns_hapair_template resources configured on the system. You can set a filter on any property of the resource.
pagesize=#no&pageno=#no
https://<MGMT-IP>/nitro/v2/config/ns_hapair_template?pagesize=#no&pageno=#no
Use this query-parameter to get the ns_hapair_template resources in chunks.
count
https://<MGMT-IP>/nitro/v2/config/ns_hapair_template?count=yes
Use this query-parameter to get the count of ns_hapair_template resources.
HTTPS Method:GET
Request Headers:
Accept:application/json
X-NITRO-USER:username_value<String>
X-NITRO-PASS:password_value<String>
or
Cookie:NITRO_AUTH_TOKEN=token_value<String>
Response:
HTTPS Status Code on Success: 200 OK HTTPS Status Code on Failure: 4xx
Response Headers:
Content-Type:application/json
Response Payload:JSON
{ "errorcode": 0, "message": "Done", "severity": <String_value>, "ns_hapair_template":[{
"sync_operation":<Boolean_value>,
"mail_profiles":<String_value>,
"inc_enabled":<Boolean_value>,
"scheduleTimesEpoch":<String_value>,
"primary_nodeid":<Integer_value>,
"secondary_ip_address":<String_value>,
"configCoordinator":<String_value>,
"secondary_rpcnodepassword":<String_value>,
"act_id":<String_value>,
"primary_ip_address":<String_value>,
"nssecondary_ip_address":<String_value>,
"nsprimary_ip_address":<String_value>,
"execute_sequentially":<Boolean_value>,
"backplane":<String_value>,
"primary_rpcnodepassword":<String_value>,
"name":<String_value>,
"slack_profile":<String_value>,
"clip":<String_value>,
"on_error":<String_value>,
"scheduleId":<String_value>,
"secondary_nodeid":<Integer_value>,
"clusterid":<Integer_value>}]}